package pojo;

public class User {

    private int userNo;

    private String username;

    private String password;

    private String nickname;

    private int age;

    private int sex;//0 man 1 woman

    private int userIdentity;//0 admin 1 求职者 2 招聘者

    private long companyNo;

    private String area;

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public int getUserNo() {
        return userNo;
    }

    public void setUserNo(int userNo) {
        this.userNo = userNo;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public int getSex() {
        return sex;
    }

    public void setSex(int sex) {
        this.sex = sex;
    }

    public int getUserIdentity() {
        return userIdentity;
    }

    public void setUserIdentity(int userIdentity) {
        this.userIdentity = userIdentity;
    }

    public long getCompanyNo() {
        return companyNo;
    }

    public void setCompanyNo(long companyNo) {
        this.companyNo = companyNo;
    }

    @Override
    public String toString() {
        return "User{" +
                "userNo=" + userNo +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", nickname='" + nickname + '\'' +
                ", age=" + age +
                ", sex=" + sex +
                ", userIdentity=" + userIdentity +
                ", companyNo=" + companyNo +
                ", area='" + area + '\'' +
                '}';
    }
}
